package com.project.bean;

/*用户对象
* */
public class UserBean {
    private Integer id;//用户id
    private String userName;//用户名
    private Integer pwd = 111;//初始密码
    private String name;//真实姓名
    private String grade;//权限等级

    public UserBean() {
    }

    public UserBean(Integer id, String userName, Integer pwd, String name, String grade) {
        this.id = id;
        this.userName = userName;
        this.pwd = pwd;
        this.name = name;
        this.grade = grade;
    }

    public UserBean(String userName, Integer pwd, String name, String grade) {
        this.userName = userName;
        this.pwd = pwd;
        this.name = name;
        this.grade = grade;
    }

    public UserBean(String userName, String name, String grade) {
        this.userName = userName;
        this.name = name;
        this.grade = grade;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getPwd() {
        return pwd;
    }

    public void setPwd(Integer pwd) {
        this.pwd = pwd;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }
}
